package com.earthea.scaffold.common.entity;

import com.earthea.common.util.JacksonUtils;
import org.mapstruct.Named;

public interface CommonMappers {

    @Named("toJson")
    default String toJson(Object object) {
        return JacksonUtils.toJson(object);
    }

}
